#include "dialogdigitalphotoframe.h"
#include "ui_dialogdigitalphotoframe.h"

DialogDigitalPhotoFrame::DialogDigitalPhotoFrame(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::DialogDigitalPhotoFrame)
{
    ui->setupUi(this);

#if INDOOREMBED
    setWindowFlags(Qt::FramelessWindowHint);//隐藏窗口标题栏
#endif

    //取消按键虚线框
    ui->pbn_prior->setFocusPolicy(Qt::NoFocus);
    ui->pbn_next->setFocusPolicy(Qt::NoFocus);

    ui->pbn_prior->setText("");
    ui->pbn_next->setText("");

    connect(ui->pbn_prior, SIGNAL(clicked()), this, SLOT(close()));
    connect(ui->pbn_next, SIGNAL(clicked()), this, SLOT(close()));
}

DialogDigitalPhotoFrame::~DialogDigitalPhotoFrame()
{
    delete ui;
}
